﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Toolsbar.aspx.cs" Inherits="Toolsbar" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>无标题页</title>
 <script language="javascript" type="text/javascript">
//function hidetop(){
//if(window.parent.menu_main.rows=="50,*,20"){
////frameshow.src="images/p_1.jpg";
//btn_hide.className="btn_hide";
//btn_hide.title="最大化模式";
//window.parent.menu_main.rows="98,*,20";
//pic1.style.display="block";
//pic2.style.display="none";
//mytab.style.top=52;
//window.parent.menu_main2.cols="160,8,*";
//}
//else{
////frameshow.src="images/p_2.jpg";
//btn_hide.className="btn_show";
//btn_hide.title="正常模式";
//window.parent.menu_main.rows="50,*,20";
//pic1.style.display="none";
//pic2.style.display="block";
//mytab.style.top=4;
//window.parent.menu_main2.cols="0,8,*";
//}
//}
function hidetop(){
if(window.parent.menu_main.rows=="48,*,20"){
//frameshow.src="images/p_1.jpg";
btn_hide.className="btn_hide";
btn_hide.title="最大化模式";
window.parent.menu_main.rows="98,*,20";
pic1.style.display="block";
pic2.style.display="none";
mytab.style.top=52;
}
else{
//frameshow.src="images/p_2.jpg";
btn_hide.className="btn_show";
btn_hide.title="正常模式";
window.parent.menu_main.rows="48,*,20";
pic1.style.display="none";
pic2.style.display="block";
mytab.style.top=2;
}
}

//tab页
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
  if (i == Num)
  {
   thisObj.className = "active"; 
      document.getElementById(tabObj+"_Content"+i).style.display = "block";
  }else{
   tabList[i].className = "normal"; 
   document.getElementById(tabObj+"_Content"+i).style.display = "none";
  }
} 
}

</script>
 
 <base target="main" />
 
<!--将以下代码加入HTML的<Body></Body>之间-->

 
</head>

<body>
 <div class="nTab" style="width:100%; position:absolute; top:52px;" id="mytab">
    <!-- 标题开始 -->
    <div class="TabTitle" style="margin-left:480px;">
      <ul id="myTab1">
        <li class="active" onclick="nTabs(this,0);">系统分类一</li>
        <li class="normal" onclick="nTabs(this,1);">系统分类二</li>
        <li class="normal" onclick="nTabs(this,2);">系统分类三</li> 
      </ul>
    </div>
    <!-- 内容开始 -->
    <div class="TabContent" >
      <div id="myTab1_Content0" style="margin-left:330px;">
	  <a href="#" class="tab" onclick="ShowSys();">人力资源基础信息管理</a>
	 <a href="#" class="tab"  onclick="ShowSys2();"> 考勤管理</a>
	 <a href="#" class="tab"> 绩效考核管理</a>
	 <a href="#" class="tab"> 薪酬管理</a>
	  </div>
      <div id="myTab1_Content1" class="none" style="margin-left:300px;">
	  <a href="#" class="tab"> 预算管理</a>
	 <a href="#" class="tab">  战略管理</a>
	 <a href="#" class="tab">  投资管理</a>
	 <a href="#" class="tab">  审计管理</a>
	 <a href="#" class="tab">  融资管理</a>
	  <a href="#" class="tab"> 证券事务管理</a>
	 <a href="#" class="tab">  资产运营管理</a>
	  </div>
      <div id="myTab1_Content2" class="none"  style="margin-left:620px;">
	  <a href="#" class="tab"> 党群管理</a>
	  <a href="#" class="tab"> 计生管理</a>
	  </div>
    </div>
  </div>
  
<table  border="0" cellpadding="0" cellspacing="0" width="100%" style="height:72px" id="pic1">
	  <tr>
	   <td class="logo"><img src="space.gif" width="455" height="1"></td>
	   <td class="bgrepeat"></td>
	   <td class="textbg" valign="top"><div style="color:#FFFFFF; text-align:right; padding-top:2px; width:100%;">   <a href="#" class="t2">系统首页</a>   <a href="#" class="t2">意见建议</a>  <a href="#" class="t2">联系我们</a>&nbsp;&nbsp;&nbsp;&nbsp;</div>
	   <br /><img src="space.gif" width="559" height="1"></td>
	  </tr>
	</table>
	  
 <div id="pic2" style="display:none; height:22px;" class="bgrepeat"></div>
 
<div class="toolbar_bgrepeat">
<div class="timebg" ><span class="timefont" id="ClockTime">欢迎登录, admin</span></div>
<div  style="float:left;">
<table cellspacing="0" cellpadding="0"   id='table1'  border="0"><tr>
     <asp:Repeater ID="repTop" runat="server" ><ItemTemplate>
  <td style="height:26px; padding-left:1px; padding-right:1px;" >
  <span style="cursor:hand;width:100%; " class="toolbar_normal" onmouseover="this.className='toolbar_act'" onmouseout="this.className='toolbar_normal'"  </span></td>

    <td style="width:10px;"> </td>
    </ItemTemplate></asp:Repeater></tr></table><script language="JavaScript" type="text/javascript">

  var tds = document.getElementById('table1').getElementsByTagName('td');
   window.onload = function(){
    for( var i=0; i<tds.length; i++ ){
     tds[i].onclick = function(){
      tdonclick(this);
     }
    }
   }
   function tdonclick(obj){
    for( var o=0; o<tds.length; o++ ){
     if( tds[o] == obj ){
      tds[o].className = 'toolbar_select';
     }
     else{
      tds[o].className = '';
     }
    }
   }
 
    </script></div> 
<!--菜单-->
<div class="toolbar_bg" style="float:right;">
	<!--按钮等信息-->
	<table width="91px" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td id="btn_homepage" ><img src="space.gif"  title="首页"  style="width:23px; height:26px;cursor:pointer;" class="btn_homepage" onmouseover="javascript:this.className='btn_homepage_act'" onmouseout="javascript:this.className='btn_homepage'" onclick='javascript:window.top.main.location.href ="../main.aspx";'   /></td>
    <!--修改密码按钮 -->
 <td class="btn_space"><img src="space.gif" style="width:8px" /></td> 
    <td id="btn_modifysn" class="btn_modifysn" onmouseover="javascript:this.className='btn_modifysn_act'" onmouseout="javascript:this.className='btn_modifysn'" onclick="javascript:ChangPass();" title="修改密码"></td>
 <td class="btn_space"><img src="space.gif" style="width:8px" /></td> 
    <td><img src="space.gif" id="btn_logout" class="btn_logout" onmouseover="javascript:this.className='btn_logout_act'" onmouseout="javascript:this.className='btn_logout'" onclick='javascript:document.location="#";' title="注销"   style="width:23px; height:26px;cursor:pointer;"  /></td>
    <td class="btn_space"><img src="space.gif" style="width:8px" /></td> 
    <td><img src="space.gif"  id="btn_hide" class="btn_hide" onclick="hidetop();" title="最大化模式"  style="width:29px; height:26px;cursor:pointer;"  /></td>
  </tr>
</table> 
	</div>
</div>
 
	<!--时间以及登陆信息图标---->
 <input type="button" name="111"  value="提交" onClick="hidetop();" style="display:none;">

</body>
</html>
 